package com.chw.admin.storage;

import com.github.pagehelper.PageInfo;

public abstract interface IChwStorageService {

	// 新增
	public abstract int addEntity(ChwStorage entity);

	// 删除
	public abstract int deleteEntity(String id);

	// 更新
	public abstract int updateEntity(ChwStorage entity);

	// 查询
	public abstract ChwStorage getEntityById(String id);

	// 分页查询
	public abstract PageInfo<ChwStorage> findEntity(ChwStorage entity, Integer currentPage, Integer pageSize);

}